package com.fulihui.information.core.repository;

import com.fulihui.information.dal.dataobj.InfoContentCommentsReply;
import com.fulihui.information.dal.dataobj.InfoContentCommentsReplyExample;
import com.fulihui.information.dto.InfoContentCommentsReplyDTO;

import java.util.List;

/**
 * Created by LM on 2017/4/9.
 */
public interface ContentCommentsReplyRepository {

    boolean create(InfoContentCommentsReply infoContentCommentsReply);

    boolean update(InfoContentCommentsReply infoContentCommentsReply);

    List<InfoContentCommentsReplyDTO> queryPage(InfoContentCommentsReplyExample example);

    long countByExample(InfoContentCommentsReplyExample example);

    InfoContentCommentsReplyDTO selectByPrimaryKey(String id);

    boolean removeByCommentsId(String commentsId);

}
